package com.molichuxing.gateway.bff.car.entity.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import com.molichuxing.services.property.CarsTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 车辆保养基本详细信息
 * </p>
 *
 * @author 
 * @since 2019-08-15
 */
@Data
public class MaintenanceBasicVo extends ResponseRootDto {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "订单号")
    private Long orderCode;

    @ApiModelProperty(value = "联系方式")
    private String userPhone;

    @ApiModelProperty(value = "车辆id")
    private Integer carId;

    @ApiModelProperty(value = "车架号")
    private String vin;

    @ApiModelProperty(value = "牌照号")
    private String licencePlate;

    @ApiModelProperty(value = "车型id")
    private Integer vehicleId;

    @ApiModelProperty(value = "车型")
    private String vehicleName;

    @ApiModelProperty(value = "采购日期")
    private LocalDate purchaseDate;

    @ApiModelProperty(value = "已保养次数")
    private Integer count;

    @ApiModelProperty(value = "已行驶里程")
    private Integer travelMileage;

    @ApiModelProperty(value = "应保养里程")
    private BigDecimal maintainableMileage;

    @ApiModelProperty(value = "已超保养里程")
    private BigDecimal overMileage;

    @ApiModelProperty(value = "应保养日期")
    private LocalDate maintainableDate;

    @ApiModelProperty(value = "已超保养日期")
    private Long maintainableOverDate;

    @ApiModelProperty(value = "车辆类型（0：新车，1：二手车）")
    private Integer vehicleType;

    @ApiModelProperty(value = "车辆类型（0：新车，1：二手车）")
    private String vehicleTypeStr;

    @ApiModelProperty(value = "车辆所在位置")
    private String stockName;

    @ApiModelProperty(value = "车辆所在(1:中转库，2：经销商，3：用户)")
    private Integer stock;

}
